Skip to content

Conversation

@mthh
Copy link
Contributor

@mthh mthh commented Apr 7, 2017

Should fix #242 .
mdbook
Instead of relying on the length of the chapter number, it now rely on the number of dot(s) it contains.
(i'm not really used to the internals of mdBook, so I may have missed something that would make this patch completely invalid, sorry if is the case!)

@frewsxcv
Copy link
Contributor

Relying on the number of dots in the string seems a little hacky, but it doesn't seem much worse than what we were doing previously. I'm also not familiar with the internals of mdbook at all to give a better suggestion, so this seems okay to me. @steveklabnik @azerupi Have any thoughts?

@azerupi
Copy link
Contributor

azerupi commented Apr 14, 2017

Indeed, it is not ideal but it is better than what we have right now. Maybe we can find a better solution in the future, but let's go with this in the mean time :)

Thanks for the PR!

@azerupi azerupi merged commit ef402c1 into rust-lang:master Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Three digit numbering in ordered list has strange alignment

3 participants